package com.lei.chinese_herbal_medicine.Service;

import com.lei.chinese_herbal_medicine.Entity.Herb;
import com.lei.chinese_herbal_medicine.Entity.PageData;

import java.util.List;

/**
 * (Herb)表服务接口
 *
 * @author makejava
 * @since 2024-01-18 10:05:26
 */
public interface HerbService {

    boolean insertHerb(Herb herb);
    List<Herb> selectHerbsByHerbAndPageData(Herb herb, PageData pageData);
    boolean deleteHerbById(String id);

    boolean updateByPrimaryKeyWithBLOBs(Herb record);
    Herb selectByPrimaryKey(String id);
}


